package com.ruoyi.express.mapper;

import com.ruoyi.express.domain.AppExpressDelivery;
import java.util.List;

/**
 * 快递单据Mapper接口
 * 
 * @author ruoyi
 * @date 2019-12-03
 */
public interface AppExpressDeliveryMapper 
{
    /**
     * 查询快递单据
     * 
     * @param id 快递单据ID
     * @return 快递单据
     */
    public AppExpressDelivery selectAppExpressDeliveryById(Long id);

    /**
     * 查询快递单据列表
     * 
     * @param appExpressDelivery 快递单据
     * @return 快递单据集合
     */
    public List<AppExpressDelivery> selectAppExpressDeliveryList(AppExpressDelivery appExpressDelivery);

    /**
     * 新增快递单据
     * 
     * @param appExpressDelivery 快递单据
     * @return 结果
     */
    public int insertAppExpressDelivery(AppExpressDelivery appExpressDelivery);

    /**
     * 修改快递单据
     * 
     * @param appExpressDelivery 快递单据
     * @return 结果
     */
    public int updateAppExpressDelivery(AppExpressDelivery appExpressDelivery);

    /**
     * 删除快递单据
     * 
     * @param id 快递单据ID
     * @return 结果
     */
    public int deleteAppExpressDeliveryById(Long id);

    /**
     * 批量删除快递单据
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteAppExpressDeliveryByIds(String[] ids);
}
